<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<center>
    <table border="1">
        <tr>
            <td>id</td>
            <td>用户名</td>
            <td>密码</td>
            <td>真实姓名</td>
            <td>工资</td>
        </tr>
        <?php foreach($res as $key=>$v){?>
        <tr>
            <td><?=$v['u_id']?></td>
            <td><?=$v['u_name']?></td>
            <td><?=$v['u_pwd']?></td>
            <td><?=$v['u_zname']?></td>
            <td><?=$v['u_gong']?></td>
        </tr>
        <?php }?>
    </table>
</center>
</body>
</html>